package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 课程没有添加目录章节
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/15 20:36
 */
public class CourseHaveNoTeachPlanException extends XCPlusBaseException {

    CourseHaveNoTeachPlanException(String message) {
        super(message);
    }

    public static void cast() {
        throw new CourseHaveNoTeachPlanException(ContentError.COURSE_HAVE_NO_TEACH_PLAN.getErrMessage());
    }
}
